fetcher: Only open files when we are ready to write to them
authorColin Walters <walters@verbum.org>
Sat, 31 Aug 2013 14:51:14 +0000 (10:51 -0400)
committerColin Walters <walters@verbum.org>
Mon, 2 Sep 2013 18:48:21 +0000 (14:48 -0400)
commit95a78542e9a2cb081719d3a2884e3d3e71e83e55
treeb85d2f74d40cda441960be1d1c7002fbff9152fd
parent8b5f684b68f88cd7ff849637936af1cfbdcbe5dc
fetcher: Only open files when we are ready to write to them

Otherwise we quickly run out of file descriptors when doing large
requests.

https://bugzilla.gnome.org/show_bug.cgi?id=707157
src/libostree/ostree-fetcher.c